import request from '@/utils/request'
export default {
    // 2、查询所有讲师
    getListTeacher() {
        return request({
            url: `/eduservice/teacher/findAll`, 
            method: 'get'
        }) 
    },

    // 1、添加课程信息
    addCourseInfo(courseInfo) {
        return request({
            url: `/eduservice/course/addCourseInfo`, 
            method: 'post',
            data: courseInfo
        })
    }
}